home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_4
/
mm_1_0.lha
/
MM
/
Rexx
/
MM_SendFile.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-10-20
|
645b
|
31 lines
/*
** $VER: MM_SendFile v0.1 (31-Ago-94)
**
** Written by Pino Aliberti
**
** usage: #AREASMENU "Send File" "rx MM:Rexx/MM_SendFile" ""
*/
ADDRESS 'MAILMANAGER'
MM_StringReq '"Send File To Node ..."' 'node'
if RC=0 THEN DO
MM_FileReq 'file'
if RC=0 THEN DO
text = 'Send b'file'n to Node b'node'n as:'
gadgets = "_Normal|_Direct|_Crash|_Hold|*_Abort"
MM_Requester '"Send File"' 'text' 'gadgets'
if RC=1 THEN
MM_AddToFlow file node 'NORMAL'
else if RC=2 THEN
MM_AddToFlow file node 'DIRECT'
else if RC=3 THEN
MM_AddToFlow file node 'CRASH'
else if RC=4 THEN
MM_AddToFlow file node 'HOLD'
END
END
EXIT